axios.defaults.baseURL = 'http://cba.itlike.com/public/index.php?s=/api/'

const footerA= document.querySelector('.footer_a')
if (footerA) {
  footerA.addEventListener('click',function () {
    location.href='./index.html'
  })
}
const footerB= document.querySelector('.footer_b')
if (footerB) {
  footerB.addEventListener('click',function () {
    location.href='./classify.html'
  })
}
const footerC= document.querySelector('.footer_c')
if (footerC) {
  footerC.addEventListener('click',function () {
    location.href='./gouwuche.html'
  })
}
const footerD= document.querySelector('.footer_d')
if (footerD) {
  footerD.addEventListener('click',function () {
    location.href='./wode.html'
  })
}